package com.smfx.yxt.model;

import java.io.Serializable;
import java.util.Date;

import com.smfx.yxt.common.enums.OfficialApplyStatus;

public class ReqOfficialApply implements Serializable {
    private Integer id;

    private Integer applyId;

    private Integer teacherId;

    private String teacherName;

    private String status;

    private String remarks;

    private Date createTime;
    

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getApplyId() {
        return applyId;
    }

    public void setApplyId(Integer applyId) {
        this.applyId = applyId;
    }

    public Integer getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Integer teacherId) {
        this.teacherId = teacherId;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName == null ? null : teacherName.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
    	getStatusText();
    	getNextStatusText();
        this.status = status == null ? null : status.trim();
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks == null ? null : remarks.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    
	public String getStatusText() {
    	return OfficialApplyStatus.getValue(this.status);
    }

	public String getNextStatusText() {
    	return OfficialApplyStatus.getNextValue(this.status);
    }
}